package com.zerone.dy.demomsg.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Document(collection = "JbGroup")
public class JbGroup {

    @Id
    private String groupCode;
    private String groupName;
    private String groupRemark;
    private String groupLeader;//领导者 创建者id
    private String groupLeaderName;//领导者名称 创建者名称
    private Date createTime;
    private int stats;//-1删除0正常1禁用
    private int groupType;//群组类型 0普通群组 1企业群组
}
